class_name GameplayStateTransition
## Gameplay State Transition
## Version: 0.1.0

##
var transition_name: String

##
var active: bool = true


func try_condition() -> bool:
	return active and _try_condition()


func try_transition() -> String:
	return _try_transition()


func on_transit() -> void:
	_on_transit()


#region Need to override
func _try_condition() -> bool:
	return false


func _try_transition() -> String:
	return ""


func _on_transit() -> void:
	pass
#endregion
